<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
    <base href="<%=basePath%>">

    <title>修改密码</title>
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="This is my page">

    <link rel="stylesheet" type="text/css" href="css/update.css">
    <script type="text/javascript" src="<%=basePath%>/jslib/jquery.js"></script>
    <script type="text/javascript" src="<%=basePath%>/jslib/changePassword.js"></script>

    <link type="text/css" rel="stylesheet" href="css/smartmenu2.css">
    <script type="text/javascript" src="<%=basePath%>/jslib/index/jquery-1.3.2.min.js"></script>
    <script type="text/javascript" src="<%=basePath%>/jslib/index/smartmenu-min.js"></script>
    <script type="text/javascript" src="<%=basePath%>/jslib/Menu.js"></script>
</head>

<body>
<%@ include file="/page/share/menu.jsp" %>
<div id="name" style="background: url(../../img/changePassword.png)"></div>
<div id="cont">
<form action="Person!changePassword.action" method="post"
      style="text-align: center;">
    <input type="hidden" value="<security:authentication property="name"/>" name="userName">
    <table align="center" border="1">
        <thead align="center">
        <tr>
            <td align="right">原密码：</td>
            <td><input type="password" name="password" id="Tpwd" class="input" onblur="Cpwd3()"/></td>
            <td align="left">
                <div class="STYLE2" id="Rpwd">请输入您的密码</div>
            </td>
        </tr>
        <tr>
            <td align="right">新密码：</td>
            <td><input type="password" name="updatePassword" id="Tpwd1" class="input" onblur="Cpwd1()"/></td>
            <td align="left">
                <div class="STYLE2" id="Rpwd1">请输入您的密码</div>
            </td>
        </tr>
        <tr>
            <td align="right">密码确认：</td>
            <td><input type="password" name="updatePassword1" id="Tpwd2" class="input" onblur="Cpwd2()"/></td>
            <td align="left">
                <div class="STYLE2" id="Rpwd2">请再次输入密码</div>
            </td>
        </tr>
        <tr>
            <td></td>
            <td>
                <input type="submit" value="修改" id="stb" onclick="return check();" class="btn"/>
            </td>
        </tr>
        </thead>
    </table>


</form>
</div>
<div id="bottom"></div>
</body>
</html>